package com.wyix.entity;

/**
 * @author wangdx
 * @since 2025/8/1
 */
public class Order {
    private String id;
    private String foodName;
    private String address;
    private String status;

    // 构造器
    public Order(String id, String foodName, String address) {
        this.id = id;
        this.foodName = foodName;
        this.address = address;
        this.status = "待接单";  // 初始状态
    }

    public Order(String id, String foodName, String address, String status) {
        this.id = id;
        this.foodName = foodName;
        this.address = address;
        this.status = status;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
